package com.projects.soundza.app.factory;

import java.util.Date;

import com.projects.soundza.domain.Album;
import com.projects.soundza.domain.Artist;

public class AlbumFactory {
	// Don't set Lists, lists gets set in the classes
	// Check album's getTracks method as an example
	public static Album getAlbum(String albumDescription, String albumName, String imageUrl, Date dateEstablished, Artist artist)
	{
		Album entity = new Album();
		entity.setAlbumDescription(albumDescription);
		entity.setAlbumName(albumName);
		entity.setArtist(artist);
		entity.setDateEstablished(dateEstablished);
		entity.setImageUrl(imageUrl);
		return entity;
	}
}
